<form action="{{$route}}" pjax-container>
<div class="form-group">
    <label class="col-sm-2 control-label">{{'统计时间选择'}}</label>
    <div class="col-sm-8" style="width: 390px">
        <div class="input-group input-group-sm">
            <div class="input-group-addon">
                <i class="fa fa-calendar"></i>
            </div>
            <input autocomplete="off" class="form-control" type="text" name="dateTime" id="dateTime" value="{{empty(request()->input('dateTime'))?date('Y-m', time()):request()->input('dateTime')}}">
            <input class="hidden" name="search" value="1">
			<script src="{{config('app.url').'/laydate/laydate.js'}}"></script> <!-- 改成你的路径 -->
        </div>

    </div>
    <button class="btn btn-info submit btn-sm"><i class="fa fa-search"></i>&nbsp;&nbsp;查询</button>
</div>
</form>